Mock.mock("test", {
    name: {
        first: '@cname',
        middle: '@datetime()',
        last: '@now',
        full: '@first @middle @last'
    }
})
axios.get('test')
    .then(function (response) {
        document.getElementById("time").innerHTML = response.data.name.middle;

        console.log(response.data.name.middle)
    }).catch(function (error) {
        console.log(error)
    })
    axios.get('test')
    .then(function (response) {
        document.getElementById("time1").innerHTML = response.data.name.middle;

        console.log(response.data.name.middle)
    }).catch(function (error) {
        console.log(error)
    })